﻿#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

#include "cadremanage/docmanage.h"
#include "cadremanage/rankparallel.h"
#include "archivemanage/directorymanage/dirmanage.h"
#include "archivemanage/directorymanage/postchange.h"
#include "cadremanage/choosecadre.h"
//#include "printdialog.h"
#include "cadremanage/cadresearch.h"
#include "cadremanage/inform.h"
#include "cadremanage/statistic.h"
#include "cadremanage/fileinfoedit.h"
#include "cadremanage/meetingway.h"
#include "cadreportrait/cadreportrait.h"
#include "datachange/shujujieshou.h"
#include "datachange/shujushangbao.h"
#include "datachange/renmianruanjian.h"
#include "datachange/qualifydocu.h"
#include "datachange/padbook.h"
#include "cadremanage/widget.h"
#include "cadremanage/cadreinfo.h"
#include "cadremanage/cadreroll.h"
#include "archivemanage/colwidget.h"
#include "archivemanage/fowidget.h"
#include "archivemanage/frwidget.h"
#include "archivemanage/fswidget.h"
#include "archivemanage/mrwidget.h"
#include "archivemanage/mswidget.h"
#include "digitalarchives/digitalarchivefrm.h"

namespace Ui {
class MainWindow;
}

class DigitalArchive : public QMainWindow
{
    Q_OBJECT

public:
    explicit DigitalArchive(QWidget *parent = 0);
    ~DigitalArchive();

private slots:
    //void WidChange();
    void cadreSearch();
    void fileEditSlot();
    void printDia();
    void on_treeWidget_itemClicked(QTreeWidgetItem *item, int column);

private:
    Ui::MainWindow *ui;

    DocManage *docManage;
    RankParallel *rankParallel;
    DirManage *dirManage;
    PostChange *postChange;
    ChooseCadre  chooseCadre;
//    printDialog priD;
    CadreSearch cadSearch;
    FileInfoEdit fileInfoEdit;
    CadrePortrait *cadrePortrait;
    shujujieshou *datajieshou;
    ShuJuShangBao *datashangbao;
    renmianruanjian *ruanjian;
    qualifyDocu *renmianbiaodaoru;
    padbook *pingbanmingce;
    meetingWay *huiyifangan;
    Inform *inform;
    statistic *cadrestatistic;
    Widget *unitmingce;
    CadreInfo *cadreinfo;
    CadreRoll *cadreroll;
    COLwidget  *colwidget;
    FOwidget *fowidget;
    FRwidget *frwidget;
    FSwidget *fswidget;
    MRWidget *mrwidget;
    MSwidget *mswidget;
    DigitalArchiveFrm *digitalarchive;
    //QString IDNum;

};

#endif // MAINWINDOW_H
